# .bash_profile

#=============== v === non-confidential leilei configs === v ===============

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi

# make $HOME/bin in PATH
export PATH="$HOME/bin:${PATH}"

# colorful ls color set
CLICOLOR=1
LSCOLORS=GxExcxdxCxcgcdabagacad
export CLICOLOR LSCOLORS

# svn editor
export SVN_EDITOR=vim

# prompt terminal name based on host name
TITLE="Lei"
if [ $HOSTNAME = "" ]; then
    TITLE="unknown"
elif [ $HOSTNAME = "localhost" ]; then
    TITLE="localhost"
fi
export PROMPT_COMMAND='echo -ne "\033]0;${TITLE}\007"'

# prompt terminal name based on command
export PROMPT_COMMAND='echo -ne "\003]0;$BASH_COMMAND\007"'

# set terminal title on command line
export PS1="[\e]2;\w: $*\a\u@\h \W]\$ \a"
# save this to a script, then run the script with args <terminal_title_you_want>
# Source aliases
. $HOME/.bash_aliases

#=============== ^ === non-confidential leilei configs === ^ ===============


#=============== v === machine specified configs go here === v ===============
# go here go here go here go here go here go here go here go here go here
#=============== ^ === machine specified configs go here === ^ ===============
